package com.yuting.gateway.rpc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "lagou-service-user")
public interface RpcUserService {


    @GetMapping("/user/info/{token}")
    String userInfo(@PathVariable("token")String token);
}
